package util;

import java.util.LinkedList;

public class OrderedMap<K, V> extends LinkedList<OrderedMap.Entry<K, V>> {

	public static class Entry<K, V> {
		K key;
		V value;

		public Entry (K key, V value) {
			this.key = key;
			this.value = value;
		}
	}

	public boolean add (K key, V value) {
		return add(new Entry<K, V>(key, value));
	}

	public boolean remove (Entry<K, V> entry) {
		return super.remove(entry);
	}

}
